package net.lanelife.casino.caipiao.service;

import net.lanelife.casino.caipiao.entity.PaymentBank;
import net.lanelife.casino.caipiao.repository.api.IPaymentBankRepository;
import net.lanelife.casino.caipiao.service.api.IPaymentBankService;
import net.lanelife.casino.common.repository.support.GenericRepository;
import net.lanelife.casino.common.service.support.GenericService;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class PaymentBankService extends GenericService<PaymentBank, Integer> implements IPaymentBankService {
	
	@Autowired
	private IPaymentBankRepository repository;
	
	public PaymentBankService() {
		super(PaymentBank.class);
	}
	
	@Override
	protected GenericRepository<PaymentBank, Integer> getRepository() {
		return repository;
	}

}
